'''
Created on 10.03.2012

@author: myaut
'''

import sys

sys.path.append('../../lib')

from salsa.coresvc import CoreClient
from salsa.util.io import IOTransactionError

c = CoreClient()

try:
    c.core.create_task('process')
except IOTransactionError as iote:
    print >> sys.stderr, iote.data
finally:
    c.stop()